<?php
 require_once 'Page.php';
 require_once 'Privilege.php';
 require_once 'Product.php';
 require_once 'User.php';
 require_once 'Order.php';
 require_once 'OrderDetail.php';
 require_once 'Category.php';
 require_once 'Manufacture.php';
 require_once 'Status_Category.php';
 require_once 'Status_Manufacture.php';
 require_once 'Group.php';
 require_once 'Status_User.php';
 require_once 'Rule.php';
 require_once 'Action.php';
 require_once 'Module.php';
 
 class Bus_Table {
    public $Page;
    public $Privilege;
    public $Product;
    public $User;
    public $Group;
    public $Order;
    public $OrderDetail;
    public $Category;
    public $Manufacture;
    public $Status_User;
    public $Rule;
    public $Action;
    public $Module;
    public $Status_Category;
    public $Status_Manufacture;
    
    public function __construct(DataProvider $db) {
        $this->Page        = new Bus_Page($db);
        $this->Privilege   = new Bus_Privilege($db);
        $this->Product     = new Bus_Product($db);
        $this->User        = new Bus_User($db);
        $this->Group       = new Bus_Group($db);
        $this->Order       = new Bus_Order($db);
        $this->OrderDetail = new Bus_OrderDetail($db);
        $this->Category    = new Bus_Category($db);
        $this->Manufacture = new Bus_Manufacture($db);
        $this->Status_User = new Bus_Status_User($db);
        $this->Rule        = new Bus_Rule($db);
        $this->Action      = new Bus_Action($db);
        $this->Module      = new Bus_Module($db);
        $this->Status_Category    = new Bus_Status_Category($db);
        $this->Status_Manufacture = new Bus_Status_Manufacture($db);
    }
 }
?>